/*
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 *
 * Copyright (c) 2013-2014 sagyf Yang. The Four Group.
 */

package app.models.gift;

import com.github.sog.annotation.TableBind;
import com.github.sog.plugin.sqlinxml.SqlKit;
import com.jfinal.plugin.activerecord.Model;

/**
 * <p>
 * .
 * </p>
 *
 * @author sagyf yang
 * @version 1.0 2014-05-27 22:35
 * @since JDK 1.6
 */
@TableBind(tableName = "ol_gift_dialy_stat")
public class GiftDialyStat extends Model<GiftDialyStat> {
    /**
     * The public dao.
     */
    public static final  GiftDialyStat dao              = new GiftDialyStat();
    private static final long          serialVersionUID = -1605121255390447399L;

    public GiftDialyStat findByDay(String day) {
        return findFirst(SqlKit.sql("giftdialystat.findByDay"), day);
    }
}